package com.imooc.activiti.example;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.Serializable;

/**
 * test
 * @author zyg
 */
public class MyTakeJavaDelegate implements JavaDelegate,Serializable {
    public static final Logger LOGGER=LoggerFactory.getLogger(MyTakeJavaDelegate.class);

    @Override
    public void execute(DelegateExecution delegateExecution) {
        
        LOGGER.info("run my java delegate {}",this );
    }

}
